#ifndef __TRAP_H__
#define __TRAP_H__

#include <context.h>

void trap(trapframe_t *tf);
void interrupt_handler(trapframe_t *tf);
void exception_handler(trapframe_t *tf);
void trap_init(void);
void print_context(context_t *context);
void print_trapframe(trapframe_t *tf);

#endif /* !__TRAP_H__ */